//
//  AccountDetailsCell.m
//  NtoccShipper
//
//  Created by zcj on 2021/1/28.
//  Copyright © 2021 zhuchongjin. All rights reserved.
//

#import "AccountDetailsCell.h"

@interface AccountDetailsCell()

@property (nonatomic,strong) CJLabel *labTime;
@property (nonatomic,strong) CJLabel *labTradeMoney;
@property (nonatomic,strong) CJLabel *labBackMoney;

@end

@implementation AccountDetailsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)sewtCellInfoWithModel:(AccountDetailModel *)model{
    
    if (model) {
        self.labTime.text = model.chargeTime;
        self.labTradeMoney.text = CJStringWithFormat(@"+%@",@(model.totalAmount).cj_money_description);
        self.labBackMoney.text = @(model.maxRefundAmount).cj_money_description;
    }
    
}


- (void)touchViewTiXianAction{
    
    if (self.blockTiXian) {
        self.blockTiXian(@"");
    }
}

@end
